package com.scagoodfeign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @author yan
 * @date 2025/8/21
 */
@FeignClient(name = "brand-api")
public interface BrandService {
    @GetMapping("/api/human/id/{id}")
     ResponseEntity<Map> findBrandById(@PathVariable Integer id);
}
